package com.ssy.lingxi.order.model.dto;

import java.io.Serializable;

/**
 * 批量记录订单上一次状态DTO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-10
 */
public class OrderStatusDTO implements Serializable {
    private static final long serialVersionUID = 6349227221097544320L;

    public OrderStatusDTO() {
    }

    public OrderStatusDTO(Long orderId, Integer lastBuyerInnerStatus, Integer lastVendorInnerStatus) {
        this.orderId = orderId;
        this.lastBuyerInnerStatus = lastBuyerInnerStatus;
        this.lastVendorInnerStatus = lastVendorInnerStatus;
        this.lastOuterStatus = 0;
    }

    public OrderStatusDTO(Long orderId, Integer lastBuyerInnerStatus, Integer lastVendorInnerStatus, Integer lastOuterStatus) {
        this.orderId = orderId;
        this.lastBuyerInnerStatus = lastBuyerInnerStatus;
        this.lastVendorInnerStatus = lastVendorInnerStatus;
        this.lastOuterStatus = lastOuterStatus;
    }

    /**
     * 订单Id
     */
    private Long orderId;

    /**
     * 上一次的采购商内部状态
     */
    private Integer lastBuyerInnerStatus;

    /**
     * 上一次的供应商内部状态
     */
    private Integer lastVendorInnerStatus;

    /**
     * 上一次的外部状态
     */
    private Integer lastOuterStatus;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getLastBuyerInnerStatus() {
        return lastBuyerInnerStatus;
    }

    public void setLastBuyerInnerStatus(Integer lastBuyerInnerStatus) {
        this.lastBuyerInnerStatus = lastBuyerInnerStatus;
    }

    public Integer getLastVendorInnerStatus() {
        return lastVendorInnerStatus;
    }

    public void setLastVendorInnerStatus(Integer lastVendorInnerStatus) {
        this.lastVendorInnerStatus = lastVendorInnerStatus;
    }

    public Integer getLastOuterStatus() {
        return lastOuterStatus;
    }

    public void setLastOuterStatus(Integer lastOuterStatus) {
        this.lastOuterStatus = lastOuterStatus;
    }
}
